package com.project.psc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.psc.bean.CheckBean;
import com.project.psc.bean.SupplierBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ISupplierMapper extends BaseMapper<SupplierBean> {
    @Select("select pk_id id,c_reason reason from t_check where fk_supplierId=#{supplierId}")
    public List<CheckBean> findErrs(Long supplierId);
}
